From fe174fc32c3c2cf083432208fb6f2b74d3c4431c Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Mon, 29 Jul 2024 11:54:33 -0500 Subject: [PATCH] Temporary fix to non-upload components --- src/pgwui_common/templates/auth_parts.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pgwui_common/templates/auth_parts.mak b/src/pgwui_common/templates/auth_parts.mak index 7d2f9b9..00dc4b1 100644 --- a/src/pgwui_common/templates/auth_parts.mak +++ b/src/pgwui_common/templates/auth_parts.mak @@ -38,7 +38,7 @@ name="csrf_token" value="${csrf_token}" /> - % if db_changed is not None: + % if db_changed is not None and db_changed is not UNDEFINED: <%doc>This is a hack. It should be fixed so that only double-upload detecting forms unconditionally generate this element.